#include <iostream>
using namespace std;

void f()
{
	cout << "f()" << endl;
}

void f(int)
{
	cout << "f(int)" << endl;
}

void f(int, int)
{
	cout << "f(int, int)" << endl;
}

void f(double, double)
{
	cout << "f(double, double)" << endl;
}

int main()
{
	//f(2.56, 42);  // 有多个 重载函数 "f" 实例与参数列表匹配: 
	
	f(42);
	f(42, 0);
	f(2.56, 3.14);

	return 0;
}